/*
 * CcBlockInfo.h
 *
 *  Created on: 2012/04/28
 *      Author: guanxiaoying
 */

#ifndef CCBLOCKINFO_H_
#define CCBLOCKINFO_H_

VOID  CcBlockInitial( VOID );
extern AST  CcBlockGetCurrInnermostOne(VOID);
AST  CcBlockAddNewTagLable( AST block, PSZ name );
AST  CcBlockAddNewEnumSymbol( AST block, PSZ name );
AST  CcBlockAddLabelStatement( PSZ name );
AST  CcBlockAddNewSymbol( AST block, PSZ name );
VOID CcBlockAddExistSymbol( AST astBlock, AST astSym );
AST  CcBlockFindTag( PSZ name, AST * block );
AST  CcBlockFindLabel( PSZ name, AST * block );
AST  CcBlockFindSymbol( PSZ name, AST * block );
VOID  CcBlockEntryBlock( VOID );
VOID  CcBlockQuitBlock( VOID );
AST  CcBlockAddNewTag( AST astBlock, PSZ name );
#endif /* CCBLOCKINFO_H_ */
